#pragma once

#include "Object/Object.h"
#include "EditorSideBarView.m.h"

class REditorSideBarViewModel;
class REditorAbilityView;
class RWidget;

//侧边栏，包含一个激活栏和一组功能
//主侧边栏的激活栏以在这个类内部，也可以在外部(默认情况)
RCLASS(ExtraHeader="Ability/EditorAbilityView.h")
class REditorSideBarView : public RObject
{
    ROBJECT

public:
    void BindViewModel(TSharedObjectPtr<REditorSideBarViewModel> InViewModel);
    void FillWidget(TSharedObjectPtr<RWidget> InWidget);
protected:
    TWeakObjectPtr<REditorSideBarViewModel> ViewModel;

    RFIELD()
    TVector<TSharedObjectPtr<REditorAbilityView>> Abilitys;


};
